Optimal. Leaf size=22 \[ \frac{\log \left (a^2+\sqrt{-a} x\right )}{\sqrt{-a}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.00991595, antiderivative size = 22, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067 \[ \frac{\log \left (a^2+\sqrt{-a} x\right )}{\sqrt{-a}} \]
Antiderivative was successfully verified.
[In] Int[(a^2 + Sqrt[-a]*x)^(-1),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 1.6672, size = 19, normalized size = 0.86 \[ \frac{\log{\left (a^{2} + x \sqrt{- a} \right )}}{\sqrt{- a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a**2+x*(-a)**(1/2)),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00491398, size = 22, normalized size = 1. \[ \frac{\log \left (a^2+\sqrt{-a} x\right )}{\sqrt{-a}} \]
Antiderivative was successfully verified.
[In] Integrate[(a^2 + Sqrt[-a]*x)^(-1),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.002, size = 19, normalized size = 0.9 \[{1\ln \left ({a}^{2}+x\sqrt{-a} \right ){\frac{1}{\sqrt{-a}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a^2+x*(-a)^(1/2)),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.3482, size = 24, normalized size = 1.09 \[ \frac{\log \left (a^{2} + \sqrt{-a} x\right )}{\sqrt{-a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a^2 + sqrt(-a)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.222037, size = 24, normalized size = 1.09 \[ \frac{\log \left (a^{2} + \sqrt{-a} x\right )}{\sqrt{-a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a^2 + sqrt(-a)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.095477, size = 19, normalized size = 0.86 \[ \frac{\log{\left (a^{2} + x \sqrt{- a} \right )}}{\sqrt{- a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a**2+x*(-a)**(1/2)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.208048, size = 26, normalized size = 1.18 \[ \frac{{\rm ln}\left ({\left | a^{2} + \sqrt{-a} x \right |}\right )}{\sqrt{-a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a^2 + sqrt(-a)*x),x, algorithm="giac")
[Out]